<!DOCTYPE html>
<html lang="en">
	<meta charset="utf-8">
	<title>jQuery WebSockets XMPP</title>
	<head>
		<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
		<script src="jquery.ws.xmpp.js"></script>
		<script src="functions.js"></script>
		<style>
			button {
				margin: 10px;
			}
			ul {
				list-style-type: none;
			}
		</style>
	</head>
	<body>
		<ul>
			<li><button id="btn_connect">Connect</button></li>
			<li>
				<select id="presence">
					<option>online</option>
					<option>away</option>
				</select>
			</li>
			<li>
				<label>To: </label><input type="text" id="to" value="testuser@corey-wysongs-macbook-pro" /><br>
				<label>Resource: </label><input type="text" id="resource" value="corey-wysongs-macbook-pro" /><br>
				<label>Body: </label><input type="text" id="body" />
				<button id="btn_sendMessage">Send Message</button>
			</li>
			<li><button id="btn_disconnect">Disconnect</button></li>
		</ul>
	</body>
</html>